package com.lvy.hczn.transmit.domain.dto.cteck;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lvy.hczn.front.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 包装袋信息对象 TPack
 *
 * @author ruoyi
 * @date 2023-07-18
 */
@Data
@ApiModel(value = "包装袋信息")
public class TPack {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "来源")
    private String sourceId;

    /**
     * 包装袋名称
     */
    @ApiModelProperty(value = "包装袋名称")
    private String name;

    /**
     * 包装袋价格
     */
    @ApiModelProperty(value = "包装袋价格")
    private BigDecimal price;

    /**
     * 包装袋容积
     */
    @ApiModelProperty(value = "包装袋容积")
    private BigDecimal volume;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "0:新增,1:修改,2:删除")
    private Integer type;

    @ApiModelProperty(value = "分拣完成通知平台的包装袋id")
    private String bagId;

    @ApiModelProperty(value = "分拣完成通知平台的包装袋数量")
    private Integer bagNum;
}